package org.dong.base.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/foo")
public class FooController {
    @GetMapping("/hello")
    public String hello() {
        //分配一块100M内存
        byte[] b = new byte[1024 * 1024 * 100];
        return "hello Mr.zhao";
    }
}
